package com.wanxs.mall.ware.service;

import com.wanxs.mall.common.page.PageData;
import com.wanxs.mall.common.service.CrudService;
import com.wanxs.mall.ware.dto.PurchaseDTO;
import com.wanxs.mall.ware.entity.PurchaseEntity;
import com.wanxs.mall.ware.vo.MergeVO;
import com.wanxs.mall.ware.vo.PurchaseDoneVO;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author wanxs 130001934@qq.com
 * @since 1.0.0 2023-09-04
 */
public interface PurchaseService extends CrudService<PurchaseEntity, PurchaseDTO> {

    PageData queryPageUnreceive(Map<String, Object> params);

    Integer merge(MergeVO mergeVO);

    void received(List<Long> ids);

    void done(PurchaseDoneVO vo);
}